package cn.hy.preparelesson.common.vo;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 备课保存接口
 */
public class LessonSaveVo implements Serializable {
    /**
     * 主键
     */
    private String id;

    /**
     * 标题
     */
    @NotNull(message = "请输入备课标题")
    private String title;

    /**
     * 备课类型（1、教案；2、单元测试分析；3、单元教学分析；4、教学计划及进度）
     */
    @NotNull(message = "请选择备课类型")
    private Byte type;

    /**
     * 学期id
     */
    @NotNull(message = "请输入学年信息")
    private String semesterId;

    /**
     * 学期（1第一学期 2第二学期）
     */
    @NotNull(message = "请输入学年信息")
    private Byte term;

    /**
     * 学年
     */
    @NotNull(message = "请输入学年信息")
    private Integer schoolYear;

    /**
     * 课程id
     */
    @NotNull(message = "请输入学科信息")
    private String subjectId;

    /**
     * 课程名称
     */
    private String subjectName;

    /**
     * 课程编码
     */
    private String subjectCode;

    /**
     * 课程类型
     */
    private String subjectType;

    /**
     * 课程等级
     */
    private String subjectLevel;

    /**
     * 备课内容
     */
    private String content;

    /**
     * 班级
     */
    @NotNull(message = "请选择年级")
    private String classList;
    /**
     * 年级
     */
    @NotNull(message = "请选择班级")
    private String grade;
    /**
     * 附件
     */
    private String anndexList;


    public LessonSaveVo() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getSemesterId() {
        return semesterId;
    }

    public void setSemesterId(String semesterId) {
        this.semesterId = semesterId;
    }

    public Byte getTerm() {
        return term;
    }

    public void setTerm(Byte term) {
        this.term = term;
    }

    public Integer getSchoolYear() {
        return schoolYear;
    }

    public void setSchoolYear(Integer schoolYear) {
        this.schoolYear = schoolYear;
    }

    public String getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(String subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getSubjectCode() {
        return subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    public String getSubjectType() {
        return subjectType;
    }

    public void setSubjectType(String subjectType) {
        this.subjectType = subjectType;
    }

    public String getSubjectLevel() {
        return subjectLevel;
    }

    public void setSubjectLevel(String subjectLevel) {
        this.subjectLevel = subjectLevel;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getClassList() {
        return classList;
    }

    public void setClassList(String classList) {
        this.classList = classList;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getAnndexList() {
        return anndexList;
    }

    public void setAnndexList(String anndexList) {
        this.anndexList = anndexList;
    }
}
